/*******************************************
Module: zt_malloc.h
Notices: Copyright (c) 2007-2011 ls
*******************************************/
#ifndef zt_malloc_h
#define zt_malloc_h
#ifdef __cplusplus
extern "C" {
#endif

#ifndef ZT_USE_STD_LIBC
#define ZT_USE_STD_LIBC
#endif

#ifndef ZT_USE_STD_LIBC
ZT_API void *zt_malloc(size_t siz);
ZT_API void zt_free(void *p);
#else
#define zt_malloc	malloc
#define zt_free		free
#endif

#define zt_memalign(alignment,siz) zt_malloc(siz)
 
#ifdef __cplusplus
}
#endif /* C++ */
#endif /* zt_malloc_h */
